-
Notifications
You must be signed in to change notification settings - Fork 834
fix: Allow multiple podSpec overrides to target the same TargetJob #2880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Allow multiple podSpec overrides to target the same TargetJob #2880
Conversation
|
/assign @astefanutti PTAL! Thanks! 😊 |
097f58e to
10da76b
Compare
Pull Request Test Coverage Report for Build 18312702644Details
💛 - Coveralls |
10da76b to
4d2a9cf
Compare
|
nit about title, I wouldn't call it "duplicated targetJobs", it sounds like allowing a bug. "fix: Allow multiple podSpec overrides to target the same TargetJob" wdyt? |
4d2a9cf to
f9487ea
Compare
f9487ea to
b7505ba
Compare
Signed-off-by: Tomas Tormo <tomas.tormo@gmail.com>
b7505ba to
1843634
Compare
|
/lgtm Thanks @kaisoz! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Currently, it's forbidden to create a TrainJob that include PodSpecOverrides with duplicated targetJobs. This breaks the Kueue integration when there are user-provided podSpecOverrides because it injects its configuration using this API
This PR fixes this by removing such limitation
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...format, will close the issue(s) when PR gets merged):Fixes #2871
Checklist: